package com.rockcent.mall.lib.repository;

import com.rockcent.mall.lib.domain.CustomerDetail;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * Created by zhangjh 2016/10/26.
 */
public interface CustomerDetailRepository extends JpaRepository<CustomerDetail, Long>, JpaSpecificationExecutor {
    CustomerDetail findByCustomerId(Long customerId);
}
